// SpriteTrap.h: interface for the SpriteTrap class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SPRITETRAP_H__B35C333D_75EA_4D0F_B459_C3C6EEA7A2E0__INCLUDED_)
#define AFX_SPRITETRAP_H__B35C333D_75EA_4D0F_B459_C3C6EEA7A2E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "SpriteMultiFrame.h"

class SpriteTrap : public BaseDispSprite  
{
public:
	SpriteTrap(SpriteMultiFrame* pNormal,SpriteMultiFrame* pBlast,int nLayer);
	virtual ~SpriteTrap();
	virtual bool Draw( DWORD dwCurrentTime );
private:
	int nType;
	SpriteMultiFrame* m_pNormal;
	SpriteMultiFrame* m_pBlast;
//	list<PicInElement_t> listPic;
	int nRadius;
	int BstRepeat;
	int BstActionNum;
	int SprTime;
	int BstTime;
	//for fire
	int nAngleBegin;
	int nAngleEnd;
};

#endif // !defined(AFX_SPRITETRAP_H__B35C333D_75EA_4D0F_B459_C3C6EEA7A2E0__INCLUDED_)
